package com.wwl.cms.utils.designModeTest.proxy.cglib;

/**
 * @author wwl
 * @version 1.0
 * @date 2021/9/8 19:44
 * @description:
 */
public class Client {
    public static void main(String[] args) {
        TeacherDao target = new TeacherDao();
        TeacherDao proxyInstance = (TeacherDao)new ProxyFactory(target).getProxyInstance();
        String res = proxyInstance.teach();
        //System.out.println("res="+res);
    }
}
